number = 0
result = 0
for number in  range(1,1001):
    result += number
print(result)